package request

//请求结构体
type LoginRequest struct {
	UUID     int    `json:"uuid" binding:"required"`
	Password string `json:"password" binding:"required"`
}

type RegisterRequest struct {
	Email    string `json:"email" binding:"required,email"` //注册时的唯一标识
	NickName string `json:"nickname" binding:"required"`
	Password string `json:"password" binding:"required" validate:"gt=10"`
}

//登录返回
type LoginResponse struct {
	UUID      int64  `json:"uuid"`
	Nickname  string `json:"nickname"`
	AvatarURL string `json:"avatarUrl"` // 头像
	Email     string `json:"email"`
}
